<titlemenu></titlemenu>
<div class="dj-list">
    <div class="dj-list-body">
        <div party-tree data-selectdzzdm="selectparams.selectdzzdm" data-selectdzzmc="selectparams.selectdzzmc"
             data-isshowxz="selectparams.isshowxz"
             data-parentcode="selectparams.parentcode"
             data-parentname="selectparams.parentname"
             data-dzzdm="selectparams.szdzzdm"
             data-dzzmc="selectparams.szdzzmc"
             data-userid="selectparams.userid"
             data-zzfbtype="selectparams.zzfbType"
             data-isunfold="selectparams.isunfold"
        ></div>
        <div class="dj-list-content">
            <div class="card">
                <div activate-input activate-select class="header search-header">
                    <div fold-partytree data-isunfold="selectparams.isunfold"></div>
                    <div class="search-param-panel">
                        <div class="search-input">
                            <form class="form-horizontal">
                                <div class="row clearfix form-inline">
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>当前选中组织</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <div class="input-group input-group-search">
                                                    <input name="selectdzzmc" type="text" style="min-width: 90px"
                                                           ng-model="selectparams.selectdzzmc" class="form-control"
                                                           ng-disabled="true"/>
                                                    <span class="input-group-addon"
                                                          ng-click="setisunfold()">选择</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>会议名称</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <input name="meetingName" class="form-control" type="text"
                                                       ng-model="selectparams.meetingName" ng-keypress="($event.which === 13)?search():0"
                                                       placeholder=""/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>会议开始时间</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <input name="beginTime" class="form-control"
                                                       ng-change="search()"
                                                       autocomplete="off"
                                                       autoclose="true"
                                                       data-date-format="yyyyMMdd" data-date-type="date"
                                                       ng-model="selectparams.beginTime"
                                                       placeholder="" bs-datepicker/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row clearfix form-inline"  ng-show="isShow">
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>会议结束时间</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <input name="endTime" class="form-control"
                                                       ng-change="search()"
                                                       autocomplete="off"
                                                       autoclose="true"
                                                       data-date-format="yyyyMMdd" data-date-type="date"
                                                       ng-model="selectparams.endTime"
                                                       placeholder="" bs-datepicker/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>会议地点</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <input name="ldjtjc" class="form-control" type="text" ng-keypress="($event.which === 13)?search():0"
                                                       ng-model="selectparams.meetingAddress"
                                                       placeholder=""/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-md-2 dj-label">
                                        <label>会议类别</label>
                                    </div>
                                    <div class="col-lg-2 col-md-2">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <select class="form-control show-tick" ng-change="search()"
                                                        ng-model="selectparams.shykType"
                                                        ng-options="type.dickey as type.dicvalue for type in shyklxList"
                                                        class="form-control"
                                                        name="shykType">
                                                    <option value="" selected>--全部--</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="search-btn" style="margin-right: 20px;">
                            <div style="min-width: 13em">
                                <span class="moreSpan" ng-click="isShowClick()" style='padding-right:1em;cursor:pointer;'>{{moreTxt}}<i class="material-icons" style="position: relative;top:7px;">{{isShow ? 'expand_less' : 'expand_more'}}</i></span>
                                <button  class="btn btn-default1"
                                        ng-click="search()">查询
                                </button>
                                <button  class="btn btn-default1 btn-reset"
                                        ng-click="reset()">重置
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="body">
                    <div class="zero-list-table-panel">
                        <div class="zero-source-table-div">
                            <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
                                <thead>
                                <tr>
                                    <th></th>
                                    <th>序号</th>
                                    <th>会议名称</th>
                                    <th>所属支部</th>
                                    <th>会议类别</th>
                                    <th>产生的决议数量</th>
                                    <th>会议地点</th>
                                    <th>会议开始时间</th>
                                    <th>会议结束时间</th>
                                    <th>决议状态</th>
                                    <!--<th>操作</th>-->
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="it in dataList">
                                    <td>
                                        <input type="checkbox" id="{{pageId}}_md_checkbox_{{$index+1}}"
                                               class="filled-in chk-col-red"
                                               ng-click="it.checked==1?it.checked=0:it.checked=1"/>
                                        <label class="checkbox_lable" style="top:6px;"
                                               for="{{pageId}}_md_checkbox_{{$index+1}}"></label>
                                    </td>
                                    <td scope="row">{{selectparams.pagesize*(selectparams.pageindex-1)+$index+1}}</td>
                                    <td><a ng-click="showData(it.MEETINGID,it.SHYKTYPE)">{{it.MEETINGNAME}}</a></td>
                                    <td>{{it.PARTYNAME}}</td>
                                    <td class="text-center">{{it.SHYKTYPENAME}}</td>
                                    <td class="text-center">{{it.DECISIONCOUNT}}</td>
                                    <td>{{it.MEETINGADDRESS}}</td>
                                    <td class="text-center">{{it.BEGINTIME | date:'yyyy-MM-dd HH:mm'}}</td>
                                    <td class="text-center">{{it.ENDTIME | date:'yyyy-MM-dd HH:mm'}}</td>
                                    <td class="text-center">{{it.DECISIONSTATUSNAME}}</td>

                                </tr>
                                <tr ng-if="dataList.length<=0">
                                    <td colspan="15" style="text-align:center">暂无数据</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="zero-target-table-div">
                            <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
                                <thead>
                                <tr>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="it in dataList" zero-table-height>
                                    <td class="text-center">
                                        <button ng-if="it.DECISIONSTATUS==1"
                                                role-permission-code="meetingIndex.btnAudit"
                                                class="btn td-btn bg-light-green waves-effect"
                                                ng-click="auditDecision(it.MEETINGID)"
                                                title="审核">
                                            审核
                                        </button>
                                    </td>
                                </tr>
                                <tr ng-if="pageInfo.ptotal==0">
                                    <td colspan="1" style="text-align:center">无</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <pagination data-pageindex="selectparams.pageindex" data-pagesize="selectparams.pagesize"
                                data-ptotal="pageInfo.ptotal"></pagination>
                </div>
            </div>
        </div>
    </div>
</div>